how to evaluate the limit of a constant function